﻿@{
    ViewBag.Title = "Add";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
   <section id="content" role="main">
        








        
            
                <header>
                    <div id="proj-config-return-link" class="ops-cont">
        <ul class="ops">
            <li>
                <a id="back-lnk" class="back-to-proj-config button first last" href="/plugins/servlet/project-config/AN/summary"><span class="icon icon-back"><span>Back to project: Angel</span></span>Back to project: Angel</a>
            </li>
        </ul>
    </div>
<h1 id="admin-page-heading">Permission Schemes</h1>
                </header>
            
            <div class="content-container">
                

                <div class="content-body aui-panel">
                    

















<form action="AddPermission.jspa" method="post" name="jiraform" onsubmit="if (this.submitted) return false; this.submitted = true; return true"  >

	
	<table class="jiraform maxWidth" 
    >
	

	
	<tr class="titlerow">
		<td colspan="3" class="jiraformheader">
        
            








    
    
            <a class="help-lnk" href="https://docs.atlassian.com/jira/docs-051/JIRA+Documentation#adding_to_permission" target="_jirahelp">
    
            
                
            
            <img src="/s/en_US-vj4gfy/782/3/_/images/icons/ico_help.png" width="16" height="16"
            
            
                
                    
                    
                        align=right
                    
                
            
            border="0" alt="Get help!"
            title="Get online help about Using and setting up JIRA"/></a>



        
        <h3 class="formtitle">Add New Permission</h3>
        
        </td>
	</tr>
	
	
	
	<tr>
		<td colspan="3" class="instructions">
        
    Permission Scheme: <strong>Default Permission Scheme</strong>
    <p>Please select the type of permission you wish to add to this Permission Scheme</p>
    
        </td>
	</tr>
	

	
	
    
     
    <tr class="hidden"><td colspan="3"></td></tr>
	
    
    
    
    
    
    
    
    
    
    
    




	



	<tr 
        
        
        
             
        
             
        
             
        
             
        
             
        
             
        
             
        
             
        
             
        
             
        
    >
		
		
			
			
				<td class="fieldLabelArea">
			
		
        
        
 		
		Permissions
        
        
		</td>

	
	





	<td class="fieldValueArea" colspan="2">




<select multiple name="permissions"
      
         
      
      
         
      
      
         
      
      
         
      
      
         
      
      
      
         
      
	  
         size="7"
      
>
   
      
   

    
      
   
   
      
   

   
   
   
		<option value="23" SELECTED
        
        
        >
        
        
            Administer Projects
        
        </option>
   
		<option value="10"
        
        
        >
        
        
            Browse Projects
        
        </option>
   
		<option value="29"
        
        
        >
        
        
            View Issue Source Tab
        
        </option>
   
		<option value="45"
        
        
        >
        
        
            View Read-Only Workflow
        
        </option>
   
		<option value="11"
        
        
        >
        
        
            Create Issues
        
        </option>
   
		<option value="12"
        
        
        >
        
        
            Edit Issues
        
        </option>
   
		<option value="28"
        
        
        >
        
        
            Schedule Issues
        
        </option>
   
		<option value="25"
        
        
        >
        
        
            Move Issues
        
        </option>
   
		<option value="13"
        
        
        >
        
        
            Assign Issues
        
        </option>
   
		<option value="17"
        
        
        >
        
        
            Assignable User
        
        </option>
   
		<option value="14"
        
        
        >
        
        
            Resolve Issues
        
        </option>
   
		<option value="18"
        
        
        >
        
        
            Close Issues
        
        </option>
   
		<option value="30"
        
        
        >
        
        
            Modify Reporter
        
        </option>
   
		<option value="16"
        
        
        >
        
        
            Delete Issues
        
        </option>
   
		<option value="21"
        
        
        >
        
        
            Link Issues
        
        </option>
   
		<option value="26"
        
        
        >
        
        
            Set Issue Security
        
        </option>
   
		<option value="31"
        
        
        >
        
        
            View Voters and Watchers
        
        </option>
   
		<option value="32"
        
        
        >
        
        
            Manage Watchers
        
        </option>
   
		<option value="15"
        
        
        >
        
        
            Add Comments
        
        </option>
   
		<option value="34"
        
        
        >
        
        
            Edit All Comments
        
        </option>
   
		<option value="35"
        
        
        >
        
        
            Edit Own Comments
        
        </option>
   
		<option value="36"
        
        
        >
        
        
            Delete All Comments
        
        </option>
   
		<option value="37"
        
        
        >
        
        
            Delete Own Comments
        
        </option>
   
		<option value="19"
        
        
        >
        
        
            Create Attachments
        
        </option>
   
		<option value="38"
        
        
        >
        
        
            Delete All Attachments
        
        </option>
   
		<option value="39"
        
        
        >
        
        
            Delete Own Attachments
        
        </option>
   
		<option value="20"
        
        
        >
        
        
            Work On Issues
        
        </option>
   
		<option value="40"
        
        
        >
        
        
            Edit Own Worklogs
        
        </option>
   
		<option value="41"
        
        
        >
        
        
            Edit All Worklogs
        
        </option>
   
		<option value="42"
        
        
        >
        
        
            Delete Own Worklogs
        
        </option>
   
		<option value="43"
        
        
        >
        
        
            Delete All Worklogs
        
        </option>
   
</select>




<div class="fieldDescription">
            (Select the permissions that you want to assign).
        </div>
	</td>

</tr>





    
    
    
    <tr>
        <td>&nbsp;</td>
        <td class="fieldValueArea" width="25%">
            <input class="radio" type="radio" name="type" value="reporter" id="type_reporter" />
            <label for="type_reporter">Reporter</label>
        </td>
        
        <td class="fieldValueArea">
            
            
            
            
            
            
            
            
            &nbsp;
        </td>
    </tr>
    
    
    <tr>
        <td>&nbsp;</td>
        <td class="fieldValueArea" width="25%">
            <input class="radio" type="radio" name="type" value="group" id="type_group" />
            <label for="type_group">Group</label>
        </td>
        
        <td class="fieldValueArea">
            
            
            
            
                <!-- Only set the 'onChange' if there is more than one option available -->
                <select name="group" onClick="document.forms['jiraform'].type[1].checked = true;">
                    <option value="">Anyone</option>
                    
                        <option value="Angel Group" >Angel Group</option>
                    
                        <option value="jira-administrators" >jira-administrators</option>
                    
                        <option value="jira-developers" >jira-developers</option>
                    
                        <option value="jira-users" >jira-users</option>
                    
                </select>
            
            
            
            
            
            
        </td>
    </tr>
    
    
    <tr>
        <td>&nbsp;</td>
        <td class="fieldValueArea" width="25%">
            <input class="radio" type="radio" name="type" value="user" id="type_user" />
            <label for="type_user">Single User</label>
        </td>
        
        <td class="fieldValueArea">
            
            
                













 


    
    


<fieldset rel="user" class="hidden user-picker-params">
    <input type="hidden" title="formName" value="jiraform">
    <input type="hidden" title="fieldName" value="user">
    <input type="hidden" title="fieldId" value="user">
    <input type="hidden" title="multiSelect" value="false">
    <input type="hidden" title="userPickerEnabled" value="true">    
</fieldset>

<div class="ajax_autocomplete" id="user_container">


<input type="text"
       name="user"
       id="user"
      
         
      
      
         
      
      
         
      
      
         
      
      
         
      
      
         
      
      
         
      
      
         onchange="document.forms[&#39;jiraform&#39;].type[2].checked = true;"
      
      
         
      
      
         
      
      
         
      
/>

    
    <a class="popup-trigger" href="#"><img  title="Select a user" alt="Select a user"
            
            name="userImage" 
            
            src="/images/icons/filter_public.gif" hspace="0" height="16" width="16" border="0" style="vertical-align:top"></a>
            
    
    


    <div id="user_results" class="ajax_results"></div>
    <div class="autocomplete-desc">Start typing to get a list of possible matches.</div>

</div>

            
            
            
            
            
            
            
            
        </td>
    </tr>
    
    
    <tr>
        <td>&nbsp;</td>
        <td class="fieldValueArea" width="25%">
            <input class="radio" type="radio" name="type" value="lead" id="type_lead" />
            <label for="type_lead">Project Lead</label>
        </td>
        
        <td class="fieldValueArea">
            
            
            
            
            
            
            
            
            &nbsp;
        </td>
    </tr>
    
    
    <tr>
        <td>&nbsp;</td>
        <td class="fieldValueArea" width="25%">
            <input class="radio" type="radio" name="type" value="assignee" id="type_assignee" />
            <label for="type_assignee">Current Assignee</label>
        </td>
        
        <td class="fieldValueArea">
            
            
            
            
            
            
            
            
            &nbsp;
        </td>
    </tr>
    
    
    <tr>
        <td>&nbsp;</td>
        <td class="fieldValueArea" width="25%">
            <input class="radio" type="radio" name="type" value="userCF" id="type_userCF" />
            <label for="type_userCF">User Custom Field Value</label>
        </td>
        
        <td class="fieldValueArea">
            
            
            
            
            
            
                <select name="userCF" onClick="document.forms['jiraform'].type[5].checked = true;">
                    <option value="">Choose a custom field</option>
                    
                </select>
            
            
            
            
        </td>
    </tr>
    
    
    <tr>
        <td>&nbsp;</td>
        <td class="fieldValueArea" width="25%">
            <input class="radio" type="radio" name="type" value="projectrole" id="type_projectrole" />
            <label for="type_projectrole">Project Role</label>
        </td>
        
        <td class="fieldValueArea">
            
            
            
            
            
                <select name="projectrole" onClick="document.forms['jiraform'].type[6].checked = true;">
                    <option value="">Choose a project role</option>
                    
                        <option value="10002" >Administrators</option>
                    
                        <option value="10101" >AngelRole</option>
                    
                        <option value="10001" >Developers</option>
                    
                        <option value="10000" >Users</option>
                    
                </select>
            
            
            
            
            
        </td>
    </tr>
    
    
    <tr>
        <td>&nbsp;</td>
        <td class="fieldValueArea" width="25%">
            <input class="radio" type="radio" name="type" value="groupCF" id="type_groupCF" />
            <label for="type_groupCF">Group Custom Field Value</label>
        </td>
        
        <td class="fieldValueArea">
            
            
            
            
            
            
            
                <select name="groupCF" onClick="document.forms['jiraform'].type[7].checked = true;">
                    <option value="">Choose a custom field</option>
                    
                        <option value="customfield_10000" >Flagged</option>
                    
                </select>
            
            
            
        </td>
    </tr>
    
    <tr>
        <td colspan="3">
            


<input type="hidden"
       
       
           id="schemeId"
       
       name="schemeId"
      
         value="0"
         
      
     
        
    
/>

            


<input type="hidden"
       
       
           id="permission"
       
       name="permission"
      
         
         
      
     
        
    
/>

        </td>
    </tr>



	<tr class="buttons-container">
    
        <td class="jiraformfooter">&nbsp;</td>
        <td colspan="2">
    
            <div class="buttons-container">
                <div class="buttons">
                

                
                    <input type="submit" name=" Add " value=" Add "
                       
                            id="add_submit"
                        

                    
                       accesskey="s"
                       title="Press Alt+Shift+s to submit form"
                    
                        
                        class="aui-button "
                        />

                    <a href="EditPermissions!default.jspa?atl_token=BPZI-XZK9-RUJW-161X%7Ccded609727f41f59f452acc94d64488dbd09601e%7Clin&amp;schemeId=0"
                       id="cancelButton"
                       class="aui-button-cancel"
                       accesskey="`"
                       title="Cancel (Alt+Shift + `)"
                       name="EditPermissions!default.jspa?atl_token=BPZI-XZK9-RUJW-161X%7Ccded609727f41f59f452acc94d64488dbd09601e%7Clin&amp;schemeId=0">Cancel
                    </a>
                
                </div>
            </div>
		</td>
	</tr>

	</table>

</form>
	
	
    <script language="javascript" type="text/javascript">
        jQuery(function () {
            AJS.$("form[name='jiraform'] :input:visible:first").focus();
        });
	</script>
                </div>
            </div>
        
    </section>

